<?php

// set this value to false in production mode
defined('YII_DEBUG') or define('YII_DEBUG', true);
// specify how many levels of call stack should be shown in each log message
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);

// change the following paths if necessary
if (defined('YII_DEBUG') && YII_DEBUG) {
	$framework = '/PortableApps/Yii 1.1.8/framework';
	$config = dirname(__FILE__) . '/protected/config';
} else {
	$protected = '/home/abip/haruna';
	$framework = "$protected/framework";
	$config = "$protected/config";
}

require_once("$framework/yii.php");
Yii::createWebApplication("$config/main.php")->run();
